import Request from "../../../../utils/request.js";
let walletHost = 'app/'
export default class {
  static unboundDataSubmit(params = {}) {
    return Request({
      url: walletHost+"wallet/center/unLinkedAcct",
      type: "POST",
      data: params,
      headers: {
        "Content-type":"application/json;charset=UTF-8"
      },
    })
  }
  static getWalletUser(params = {}) {
    var accountId = wx.getStorageSync('userId');
    return Request({
      url: walletHost+"wallet/center/getWalletUser",
      type: "POST",
      data: {...params,accountId},
      headers: {
        "Content-type":"application/json;charset=UTF-8"
      },
    })
  }
  static cardinfo(params = {}) {
    return Request({
      url: walletHost+"wallet/center/cardinfo",
      type: "POST",
      data: params,
      headers: {
        "Content-type":"application/json;charset=UTF-8"
      },
    })
  }
  // 获取密码随机因子
}
